/**
 * tjftp -- A simple FTP server, using the ANSI C
 * Copyright (C) 2011  degui.chen <degui.chen@qq.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef UNITY_H_
#define UNITY_H_

#ifndef DEBUG_LEVEL
#define DEBUG_LEVEL -1
#endif

#define DEBUG_LOG(result, level) if(DEBUG_LEVEL >= level){ _tj_debug_log(result, __FILE__, __FUNCTION__, __LINE__, __STDC__); }

void tj_print_usage();

int tj_epoll_receive(int accept_fd, char result[], int res_len);

#endif /* UNITY_H_ */
